package com.chixing.day06;

public class TestEmployee {
    public static void main(String[] args) {

        Employee employee=new Employee();
        employee.setEmpId(111111111);
        employee.setEmpName("xxx");
        employee.setEmpJob("员工");
        employee.setEmpSalary(1000);
        System.out.println();

        Manager manager=new Manager();
        manager.setEmpId(211111111);
        manager.setEmpName("yyy");
        manager.setEmpJob("经理");
        manager.setEmpSalary(10000);
        manager.setEmpGrades("职等");

        Boss boss=new Boss();
        boss.setEmpId(311111111);
        boss.setEmpName("zzz");
        boss.setEmpJob("老板");
        boss.setEmpSalary(100000);
        boss.setEmpLegal("法人");

        System.out.println(employee);
        System.out.println(manager);
        System.out.println(boss);


    }
}
